<?php

namespace App\Http\Controllers;

use App\Providers\PersonServiceProvider;
use Illuminate\Http\Request;

class PersonController extends Controller
{
    public function index(Request $request)
    {
        $res = [$request->input('name'), $request->input('age'), $request->input('sex')];
        return view('test.index', compact('res'));
    }
    
    public function show(){
        dump('show func');
         dump(app()->make('Person'));
    }

}
